package com.wuzf.navigation_test.ui.home;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.lifecycle.ViewModelProvider;
import androidx.paging.PagedListAdapter;

import com.scwang.smartrefresh.layout.api.RefreshLayout;
import com.wuzf.libannotation.FragmentDestination;
import com.wuzf.navigation_test.R;
import com.wuzf.navigation_test.model.Feed;
import com.wuzf.navigation_test.ui.AbsListFragment;

@FragmentDestination(pageUrl = "main/tabs/home", isStart = true)
public class HomeFragment extends AbsListFragment<Feed, HomeViewModel> {

    @Override
    protected PagedListAdapter getAdapter() {
        return new FeedAdapter(getContext());
    }

    @Override
    protected void afterViewCreated() {

    }

    @Override
    public void onLoadMore(@NonNull RefreshLayout refreshLayout) {

    }

    @Override
    public void onRefresh(@NonNull RefreshLayout refreshLayout) {

    }
}